package com.dongdong.service;

import com.dongdong.model.TbOrder;
import com.dongdong.model.TbOrderItem;
import com.dongdong.vo.PayVO;

public interface OrderService {
    PayVO addOrderAndOrderItem(String accessToken, Long addrId, String paymentType);

    void updatePayOrder(TbOrder order);

    void updatePayOrderItem(TbOrderItem item);

    TbOrder selectByOutTradeNo(String outTradeNo);

    TbOrderItem selectByItemOutTradeNo(String outTradeNo);
}
